<template>
  <div>
    <div ref="dom1">xx</div>
    <my-button @click="test">测试</my-button>
  </div>
</template>

<script>
  import MyButton from "../../../common/my-button";
  import { h } from './h'
  import { Vnode } from './vnode'
  export default {
    name: "test2-index",
    components: {MyButton},
    data(){
      return{

      }
    },
    methods:{
      test(){
        console.log(new Vnode('xx'))
      }
    }
  }
</script>

<style lang="scss" scoped>

</style>
